home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Views
/
ViewCell
/
CellVisitor.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
478b
|
32 lines
// CellVisitor.h
#ifndef CellVisitor_h
#define CellVisitor_h
#ifndef Rectangle_h
#include "Rectangle.h"
#endif
class ViewCell;
class Canvas;
class CellVisitor
{
private:
Rectangle destination;
protected:
~CellVisitor() {}
public:
CellVisitor( const Rectangle& theDestination )
: destination( theDestination )
{}
const Rectangle& Destination() const { return destination; }
virtual void Visit( ViewCell&, const Canvas& ) = 0;
};
#endif